import common from './common'
import paths from './paths'

const graphicService = {};

(function (service) {
    service.getMetaDataParam = function (projectId, processInstanceId, withAlias) {
        return common.get(paths.graphic.getMetaDataParam, { projectId: projectId, processInstanceId: processInstanceId, withAlias: withAlias })
    }

    service.gisImportKcLandList = function (projectId, type, data) {
        return common.post(paths.graphic.gisImportKcLandList, { projectId: projectId, type: type }, data)
    }
})(graphicService)
export default graphicService
